<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<script type="text/javascript">
    //reload() 方法用于重新加载当前文档。
    function reloadPage()
    {
        window.location.reload()
    }
</script>
<body>
<input type="button" value="Reload page"
       onclick="reloadPage()" />
</body>
</html>